package gui.actions;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;



public class ExitAction extends AbstractAction {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    public ExitAction() {
        super("Exit");
        putValue(SHORT_DESCRIPTION, "Exit application");
        putValue(MNEMONIC_KEY,KeyEvent.VK_E);
    }
    
    @Override
    public void actionPerformed(ActionEvent arg0) {
        System.exit(0);
    }
}
